package com.cl.security.core.controller;

import com.cl.security.base.controller.TreeController;
import com.cl.security.core.entity.Category;
import com.cl.security.core.service.CategoryService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("category")
public class CategoryController extends TreeController<Category,CategoryService> {
    public CategoryController(CategoryService service) {
        super(service, Category.class);
    }
}
